<header>
    <div class="lf">
        <a class="home" href="{% url 'index' %}">系统首页</a>
        <a href="{% url 'res:upload' %}">上传资源</a>
    </div>
    <div id="search">
        <input type="text" name="name"
               placeholder="请输入要搜索的资源" autocomplete="off"/><a class="search btn">搜索</a>
    </div>

    <div class="rf">
        <a href="{% url 'login' %}">登录/注册</a>
        <a class="info" href="{% url 'user:personal' %}">个人中心</a>
        <a class="cols" href="shoucang.html">收藏</a>
        <a class="exit" href="{% url 'logout' %}">退出登录</a>
    </div>
</header>
